home *** CD-ROM | disk | FTP | other *** search
- .K ""
- echo "This script will install the following libraries, after first checking"
- echo "to see if you already have one installed:"
- echo ""
- echo " mtool.library"
- echo ""
- echo "If you have one installed, it will check the version number of the"
- echo "installed one and ask if you wish to update it."
- echo ""
-
- FailAt 20
-
- ask "Do you wish to continue with the installation? [y/n]"
- if not warn
- skip NoInstall
- endif
-
- if not exists libs:mtool.library
- echo "No existing mtool.library, installing version 36.10..."
- copy mtool.library libs:mtool.library
- else
- failat 20
- echo "Found " noline
- version libs:mtool.library 36 10
- if warn
- ask "Do you wish to update libs:mtool.library to version 36.10? [y/n]"
- if warn
- echo "Updating libs:mtool.library..."
- protect libs:mtool.library rwed
- copy mtool.library libs:mtool.library
- else
- echo "libs:mtool.library unchanged."
- endif
- else
- echo "The current installed version is up to date."
- endif
- endif
-
- lab NoInstall
- echo "*nAll Done. Click close gadget to get rid of window."
- endcli > nil:
-